﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Model;

namespace CBE.Model
{
    public class ReporteComprasProveedorView : ViewEntity
    {
        public const string CodigoPropertyName = "Codigo";
        public string Codigo { get; set; }

        public const string MailPropertyName = "Mail";
        public string Mail { get; set; }

        public const string TelefonoPropertyName = "Telefono";
        public string Telefono { get; set; }

        public const string RazonSocialPropertyName = "RazonSocial";
        public string RazonSocial { get; set; }

        public const string NroDocumentoPropertyName = "NroDocumento";
        public string NroDocumento { get; set; }

        public const string ProductosPropertyName = "Productos";
        public string Productos { get; set; }

        public const string CantidadComprasPropertyName = "CantidadCompras";
        public int CantidadCompras { get; set; }

        public const string ImporteTotalPropertyName = "ImporteTotal";
        public decimal ImporteTotal { get; set; }

        public const string FechaUltimaCompraPropertyName = "FechaUltimaCompra";
        public DateTime FechaUltimaCompra { get; set; }

        public const String FechaUltimaCompraStringPropertyName = "FechaUltimaCompraString";
        public String FechaUltimaCompraString
        {
            get { return FechaUltimaCompra.ToShortDateString(); }
        }
    }
}
